00001 00006 class LightForm : public CFormView 00007 { 00008 DECLARE_DYNCREATE(LightForm) 00009 00010 protected: 00011 LightForm(); // protected constructor used by dynamic creation 00012 virtual ~LightForm(); 00013 00014 public: 00018 enum { IDD = IDD_LIGHTFORM }; 00019 00023 void OnInitialUpdate(); 00024 00025 #ifdef _DEBUG 00026 virtual void AssertValid() const; 00027 virtual void Dump(CDumpContext& dc) const; 00028 #endif 00029 00030 protected: 00031 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support 00032 CButton redNormalLightButton1; 00033 HICON iconNormalRedLight1; 00034 CButton yellowNormalLightButton2; 00035 HICON iconNormalYellowLight2; 00036 CButton greenNormalLightButton3; 00037 HICON iconNormalGreenLight3; 00038 DECLARE_MESSAGE_MAP() 00039 public: 00043 afx_msg void OnBnClickedButton1(); 00044 00048 afx_msg void OnBnClickedButton2(); 00049 00054 afx_msg void OnBnClickedButton3(); 00055 00059 afx_msg void OnBnClickedButton4(); 00060 00064 afx_msg void OnBnClickedButton5(); 00065 00069 afx_msg void OnBnClickedButton6(); 00070 00074 afx_msg void OnBnClickedButton7(); 00075 00079 afx_msg void OnBnClickedButton8(); 00080 }; 00081 00082
1.4.6-NO